const handler = {
    get(target,prop,receiver){
        console.log(target,'target')
    },

    set(target,prop,receiver){
        console.log(target,'target');
        console.log(prop,'prop')
    }
}

const target = {
    name:'',
    age:20
}

const proxy  = new Proxy(target,handler);

proxy.age = 20;